package org.jeecg.modules.sxaq.anr.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 异常记录
 * @Author DHC
 * @Date 2020-12-01
 */
@Data
@TableName("record_abnormal")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="record_abnormal对象", description="异常记录")
public class RecordAbnormal implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**事件生成时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "事件生成时间")
    private java.util.Date eventTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private java.lang.String userId;
	/**用户名*/
	@Excel(name = "用户名", width = 15)
    @ApiModelProperty(value = "用户名")
    private java.lang.String username;
	/**真实姓名*/
	@Excel(name = "真实姓名", width = 15)
    @ApiModelProperty(value = "真实姓名")
    private java.lang.String realname;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private java.lang.String phone;

    /**
     * 200 正常
     * 3 网络异常(手机)
     * 4 摄像头异常(手机)
     * 5 检测异常(服务器)
     * 6 上报异常(APP)
     * 7 切换系统(APP)
     * 8 卸载核心文件(APP)
     * 9 卸载程序(APP)
     * 10 删除权限(APP)
     */
	@Excel(name = "事件类型", width = 15)
    @ApiModelProperty(value = "事件类型")
    private java.lang.Integer type;

    @TableField(exist = false)
    private java.lang.String orgCodeTxt;

    @TableField()

    private java.lang.String anrId;

    // 手机型号
    private java.lang.String mobileModel;
    // 手机系统
    private java.lang.String mobileSystem;
    // 手机系统版本
    private java.lang.String mobileVersion;
    // 手机唯一标识
    private java.lang.String mobileSingle;
    // 员工卡号
    private java.lang.String workNo;
}
